package v2;

import java.awt.Dimension;

import javax.swing.JFrame;

public class ParticlesMain {
	
	public static void main(String[] args){
		ParticleViewer viewer = new ParticleViewer(new Dimension(800,600));
		viewer.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		viewer.setVisible(true);
		viewer.start();
		//viewer.add(new ParticleCircle(150,150,70,100));
		viewer.add(new ParticleRectangle(250,200,300,200,210));
		//viewer.add(new ParticleSpawn(545,395,1000)); //this keeps everything in the same thread, so it's useless to my at the moment

	}
}
